import request from '@/util/request.js'
//部门管理api接口



export function list(params) {
    return request({
        url: '/sys/employee/list',//http://127.0.0.1:9000/api/auth/login
        method: 'get',
        params
    })
}

export function addEmployee() {
    return request({
        url: '/sys/employee/add',//http://127.0.0.1:9000/api/auth/login
        method: 'post'
    })
}

export function updateEmployee() {
    return request({
        url: '/sys/employee/update',//http://127.0.0.1:9000/api/auth/login
        method: 'put'
    })
}

export function deleteEmployee() {
    return request({
        url: '/sys/employee/del',//http://127.0.0.1:9000/api/auth/login
        method: 'delete'
    })
}

